#include <stdio.h>
#include <stdlib.h>

#define minut   60

int main()
{
  int  total_minut;
  int hours = 0;
  int left_minut;

  printf("请输入分钟：(输入q退出)\n");
  while(scanf("%d",&total_minut))
  {
    hours = total_minut / minut;
    //printf("%d",hours);
    left_minut = total_minut - (hours * minut);
    printf("%d:%d\n请输入分钟：(输入q退出)\n",hours,left_minut);
  }

  return 0;
}


